package com.example.demo.mapper;

import com.example.demo.bean.SearchUserByCondition;
import com.example.demo.bean.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    public void addUserInfo(String username, String type);
    public void updateUserInfo(UserInfo userInfo);
    public UserInfo getUserInfoByUsername(String username);
    public List<UserInfo> getAllUserInfo();
    public List<UserInfo> getUserInfoByCondition(SearchUserByCondition searchUserByCondition);
}
